﻿using Com.Alipay.Business;
using Com.Alipay.Domain;
using System;
using Aop.Api.Response;


namespace WeChat.Common2
{
    public interface AlipayHelperService
    {
        //当面付条码支付
        AlipayF2FPayResult tradePay(AlipayTradePayContentBuilder builder);

        // 当面付2.0交易查询
        AlipayF2FQueryResult tradeQuery(string outTradeNo);

        // 当面付2.0交易退货
        AlipayF2FRefundResult tradeRefund(AlipayTradeRefundContentBuilder builder);

        // 当面付2.0预下单
        AlipayF2FPrecreateResult tradePrecreate(AlipayTradePrecreateContentBuilder builder);
        AlipayF2FPrecreateResult tradePrecreate(AlipayTradePrecreateContentBuilder builder, string notify_url);

        AlipayTradeCancelResponse CancelAndRetry(string out_trade_no);

    }
}
